Skip to content

[62820] Primer Alpha::ToggleSwitch locale support, set default values - #372

Merged
HDinger merged 3 commits into
mainfrom
62820-primer-alpha-toggle-switch-locale-support-primer-repo
Oct 13, 2025
Merged

[62820] Primer Alpha::ToggleSwitch locale support, set default values#372
HDinger merged 3 commits into
mainfrom
62820-primer-alpha-toggle-switch-locale-support-primer-repo

Conversation

@bsatarnejad

Copy link
Copy Markdown

@changeset-bot

changeset-bot Bot commented Oct 13, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 2749542

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@openproject/primer-view-components Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@bsatarnejad bsatarnejad self-assigned this Oct 13, 2025
@bsatarnejad
bsatarnejad requested a review from HDinger October 13, 2025 09:45
Comment thread config/locales/en.yml Outdated
label_title: "Title"
label_loading: "Loading..."
label_more: "More"
label_switch_on: "On"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer the custom component specific labels to follow the structure we have for the danger dialog with the component name as the first key. So

toggle_switch:
  label_on: "On"
  label_off: "Off"

@HDinger
HDinger merged commit eedf030 into main Oct 13, 2025
27 checks passed
@HDinger
HDinger deleted the 62820-primer-alpha-toggle-switch-locale-support-primer-repo branch October 13, 2025 11:02
@openprojectci openprojectci mentioned this pull request Oct 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants